<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>sethomedirectory</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : 02/04/2005</div>
    <p>
      <b>sethomedirectory</b> - Set Scilab home
  directory</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>[home,scilabhome]=sethomedirectory()</tt>
      </dd>
      <dd>
        <tt>[home,scilabhome]=sethomedirectory(homepath)</tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>home</b>
        </tt>: a string</li>
    </ul>
    <ul>
      <li>
        <tt>
          <b>scilabhome</b>
        </tt>: a string (value of SCIHOME environment variable)</li>
    </ul>
    <ul>
      <li>
        <tt>
          <b>homepath</b>
        </tt>: home path (a string)</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>Set Scilab home path : "SCIHOME" variable.</p>
    <p>On Windows, C:/Documents and
    Settings/&lt;User&gt;/Scilab/&lt;Scilab-Version&gt;</p>
    <p>On Unix, /home/&lt;User&gt;/Scilab/&lt;Scilab-Version&gt;</p>
    <h3>
      <font color="blue">Author</font>
    </h3>
    <p>Allan CORNET</p>
  </body>
</html>
